package cn.itsource.serivce;

import cn.itsource.domain.Menu;

import java.util.List;

public interface IMenuService {
    
    /**--------------------------------------------------------
     查询所有的菜单，树状结构
     --------------------------------------------------------**/
    List<Menu> selectAllForTree();

    /**--------------------------------------------------------
     查询用户的菜单，树状结构
     --------------------------------------------------------**/
    List<Menu> selectMenuTreeByUserId(Long userId);
}
